From 03aec42dae9e602fe7c7341a6fbb8c4d64b407a8 Mon Sep 17 00:00:00 2001 From: "cl349@freefall.cl.cam.ac.uk" Date: Thu, 21 Oct 2004 19:30:36 +0000 Subject: [PATCH] bitkeeper revision 1.1159.127.2 (41780e5c-RsPtK5gKwQvWEW2Vv26oQ) Use a default name if we don't know the name of a domain anymore. --- tools/python/xen/xend/XendDomainInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index ca665bd906..031b1a4143 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -236,7 +236,7 @@ def vm_recreate(savedinfo, info): if config: d = vm.construct(config) else: - vm.name = sxp.child_value(savedinfo, 'name') + vm.name = sxp.child_value(savedinfo, 'name', "Domain-%d" % info['dom']) d = defer.succeed(vm) vm.recreate = 0 return d -- 2.30.2